﻿using System;

namespace WAD.Model
{
    public class MFCOrder
    {
        public int id { get; set; }
        public int user_id { get; set; }
        public int article_id { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal unit_price { get; set; }
        /// <summary>
        /// 订单总额
        /// </summary>
        public decimal total_price { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal pay_price { get; set; }
        /// <summary>
        /// 到账金额(到账金额=订单总额 * 10% 的平台抽成)
        /// </summary>
        public decimal after_price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int number { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string orderid { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 代理商ID
        /// </summary>
        public int agentid { get; set; }
        /// <summary>
        /// 支付方式(0 余额支付, 1微信支付, 2支付宝支付)
        /// </summary>
        public int platform { get; set; }
        /// <summary>
        /// 支付后的回调备注
        /// </summary>
        public string callback_msg { get; set; }
        /// <summary>
        /// 支付后的回调时间
        /// </summary>
        public DateTime? callback_date { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? date { get; set; }
    }
}
